package com.ruoyi.common.core.domain.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 1对象 cus_user
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public class CusUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long deptId;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 合作方 */
    @Excel(name = "合作方")
    private String partner;

    /** 投资方 */
    @Excel(name = "投资方")
    private String investor;

    /** 投资金额 */
    @Excel(name = "投资金额")
    private String investment;

    /** 产品品牌 */
    @Excel(name = "产品品牌")
    private String brand;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 方案特色 */
    @Excel(name = "方案特色")
    private String characteristic;

    /** 升级空间 */
    @Excel(name = "升级空间")
    private String upgradeSpace;

    /** 负责部门编号 */
    @Excel(name = "负责部门编号")
    private String responsibleDepartmentId;

    /** 负责人电话 */
    @Excel(name = "负责人电话")
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setPartner(String partner) 
    {
        this.partner = partner;
    }

    public String getPartner() 
    {
        return partner;
    }
    public void setInvestor(String investor) 
    {
        this.investor = investor;
    }

    public String getInvestor() 
    {
        return investor;
    }
    public void setInvestment(String investment) 
    {
        this.investment = investment;
    }

    public String getInvestment() 
    {
        return investment;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setCharacteristic(String characteristic) 
    {
        this.characteristic = characteristic;
    }

    public String getCharacteristic() 
    {
        return characteristic;
    }
    public void setUpgradeSpace(String upgradeSpace) 
    {
        this.upgradeSpace = upgradeSpace;
    }

    public String getUpgradeSpace() 
    {
        return upgradeSpace;
    }
    public void setResponsibleDepartmentId(String responsibleDepartmentId) 
    {
        this.responsibleDepartmentId = responsibleDepartmentId;
    }

    public String getResponsibleDepartmentId() 
    {
        return responsibleDepartmentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("partner", getPartner())
            .append("investor", getInvestor())
            .append("investment", getInvestment())
            .append("brand", getBrand())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("characteristic", getCharacteristic())
            .append("upgradeSpace", getUpgradeSpace())
            .append("responsibleDepartmentId", getResponsibleDepartmentId())
                .append("phone",getPhone())
            .toString();
    }
}
